﻿using System;


/// <summary>
/// T_News 的摘要说明
/// </summary>
namespace Corporation.News
{
    public class TNews
    {
        #region Model
        private int _id;
        private int _userid;
        private string _title;
        private string _info;
        private bool _verify;
        private DateTime _adddate;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = Base.Common.FilterHtml(value); }
            get { return _title; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Info
        {
            set { _info = Base.GetRequest.RemoveHTMLForEditor(value); }
            get { return _info; }
        }
        /// <summary>
        /// 审核
        /// </summary>
        public bool Verify
        {
            set { _verify = value; }
            get { return _verify; }
        }
        /// <summary>
        /// 添加日期
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        #endregion Model
    }
}
